﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="ViewRes" %>

<script type="text/javascript">

    $(function() {
        loadData();
    });

    function loadData() {
        loadDeletedEntries();
        loadActiveEntries();
    }

    function loadDeletedEntries() {
        var link = '<%:ViewData["GetDeletedEntriesLink"]%>';
        $.ajax({
                url: link,
                async: false,
                success: function(data) {
                    $("#deletedEntries").html(data);
                }
            });
    }

</script>
<div id="dataContainer" style="display: table-cell; height: 100%;">
    <div style="border-right: 1px solid gray; display: table-cell; vertical-align: top; height: 100%;" class="container" >
        <div style="text-align: center;" class="largeText">
           <b><%:SystemManagersStrings.ActiveUsers%></b> 
        </div>
        <hr />
        <div>
            <%=ViewData["ActiveUsersPartialHtml"]%>
        </div>
    </div>
    <div style="border-right: 1px solid gray; display: table-cell; height: 100%;" class="container">
        <div style="text-align: center;" class="largeText">
            <b> <%:SystemManagersStrings.DeletedUsers%></b> 
        </div>
        <hr />
        <div id="deletedEntries">
        </div>
    </div>
</div>
